package com.numberone.system.domain;


import com.numberone.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 商品图片表 goods_img
 * 
 * @author numberone
 * @date 2020-09-28
 */
public class GoodsImg extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 编号 */
	private Long id;
	/** 商品id */
	private Long goodsId;
	/** 图片地址 */
	private String url;
	/** 排列顺序 */
	private Long queue;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setGoodsId(Long goodsId) 
	{
		this.goodsId = goodsId;
	}

	public Long getGoodsId() 
	{
		return goodsId;
	}
	public void setUrl(String url) 
	{
		this.url = url;
	}

	public String getUrl() 
	{
		return url;
	}
	public void setQueue(Long queue) 
	{
		this.queue = queue;
	}

	public Long getQueue() 
	{
		return queue;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goodsId", getGoodsId())
            .append("url", getUrl())
            .append("queue", getQueue())
            .toString();
    }
}
